<?php if(!empty($dataModuleArticle)):?>
<div id="module_article">
	<!--<h2 class="tab tabRed">บทความ</h2>-->
	<h2 class="moduleHeader headerArticle">บทความ</h2>
	<a class="readmore" target="_blank" href="<?php echo $news_url.'article';?>">ดูทั้งหมด&nbsp;&raquo;</a>
	<div class="frame">
	<ul>
		<?php foreach($dataModuleArticle as $value):?>
			<li>
				<a href="<?php echo $news_url.'archives/'.$value->news_id.'-'.seo_url($value->news_subject);?>" target="_blank">
					<div class="image">
						<?php echo exec_image(array(
							'folder' => 'news',
							'dimension' => '280x165',
							'file_name' => @$value->image->news_file_name.'.'.@$value->image->news_file_ext,
							'alt' => ''.$value->news_subject.'',
							'title' => ''.$value->news_subject.''	
							)
						);?>				
					</div>
					<p><?php echo $value->news_subject;?></p>
				</a>
			</li>
		<?php endforeach;?>
	</ul>
	</div>
</div>
<?php endif;?>